entity mux4_5bits is
	port (
		entrada0 : in bit_vector (4 downto 0);
		entrada1 : in bit_vector (4 downto 0);
		entrada2 : in bit_vector (4 downto 0);
		entrada3 : in bit_vector (4 downto 0);
		seletor : in bit_vector (1 downto 0);
		saida : out bit_vector (4 downto 0)
	);
end mux4_5bits;

architecture arc_mux4_5bits of mux4_5bits is

begin

	saida <= entrada0 when seletor = "00" else
			 entrada1 when seletor = "01" else
			 entrada2 when seletor = "10" else
			 entrada3;
			
end arc_mux4_5bits;	
	
				